<?php
namespace app\app\controller\v2;
use app\app\Appbase;

class Activity extends Appbase 
{
	
	/**
	*获取秒杀活动列表
	* /app/v2/activity/getList
	* 需要登录 
	* @is_need_login true
	* @method all
	*/
	public function getList(){
		try {
			$result = model('ActivitySeckill')->getList();
			return $this->ReSucess($result);	
		} catch (\Exception $e) {
			return $this->ReError($e->getMessage());	
		}
	}
	
}



